<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="public/css/public.css"/>
</head>
<body>
	<!--miniHeader{{{-->
	<div class="s_miniHeader">
		<div class="headerBox">
			<div class="logo"><div style="padding:3px 0 0 0;"><a href="/"><img src="public/img/logo.png"/></a></div></div>
			<div class="nav">
				<ul class="priNav">
					<li><a href="/">首页</a></li>
					<li><a href="#">朗朗专题</a></li>
					<li><a href="#">时装作品</a></li>
					<li><a href="#">婚纱作品</a></li>
					<li><a href="#">写真作品</a></li>
					<li><a href="#">服务报价</a></li>
					<li><a href="#">圈子课堂</a></li>
					<li><a href="#">会所画册</a></li>
				</ul>
			</div>
		</div>
	</div>
	<!--}}}-->

	<div class="s_main col2_21">
		<?php include 'part/left.tpl.php'; ?>

		<!--right{{{-->
		<div class="right">
			<div class="box">
				<div class="head">
					<div class="caption">
					<div class="title"><?php echo $title; ?></div>
					</div>
				</div>
				<div class="body">
					<div class="form">
						<form action="?m=admin&c=index&a=dataUpdate" method="post">
							<?php 
								if(isset($id)){
									echo '<input type="hidden" name="id" value="',$id,'"/>';
								}
							?>
							<ul>
							<li><span>名称:</span><input type="text" name="name" value="<?php echo isset($data['name'])?$data['name']:''; ?>"/></li>
								<li><span>数据块数量:</span><input type="text" name="count" value="<?php echo isset($data['num'])?$data['num']:''; ?>"/></li>
								<li><input type="submit" value="<?php echo isset($id)?'更新':'添加'; ?>" class="btn"/></li>
							</ul>
						</form>
					</div>
				</div>
			</div>
		</div>
		<!--}}}-->
	</div>
</body>
</html>
